﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sw.Hospital.HealthExaminationSystem.Core.Coding
{
   
    public class TbmVisitManageSet : FullAuditedEntity<Guid>, IMustHaveTenant
    {
       
        /// <summary>
        /// 项目信息标识
        /// </summary>      
        public virtual Guid? ItemId { get; set; }

        /// <summary>
        /// 项目
        /// </summary>
        public virtual TbmItemInfo Item { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [StringLength(50)]
        public virtual string Sex { get; set; }
       
        /// <summary>
        /// 最小年龄
        /// </summary>
        public virtual int? MinAge { get; set; }

        /// <summary>
        /// 最大年龄
        /// </summary>
        public virtual int? MaxAge { get; set; }
        /// <summary>
        /// 最小值
        /// </summary>
        public virtual decimal? MinValue { get; set; }

        /// <summary>
        /// 最大值
        /// </summary>
        public virtual decimal? MaxValue { get; set; }
        /// <summary>
        /// 结果判断状态 1大小区间2包含问字3等于文字
        /// </summary>
        public virtual int? CheckType { get; set; }

        /// <summary>
        /// 结论
        /// </summary>
        [StringLength(500)]
        public virtual string Summ { get; set; }
        /// <summary>
        /// 随访等级
        /// </summary>
        public virtual int? Visitgrade { get; set; }
        /// <summary>
        /// 随访周期
        /// </summary>
        public virtual int? VisitDay { get; set; }
        /// <summary>
        /// 随访周期
        /// </summary>
        [StringLength(500)]
        public virtual string VisitText { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(500)]
        public virtual string VisitName { get; set; }
        /// <summary>
        /// 项目标示 H偏高 HH超高L偏低 LL 超低M正常P异常
        /// </summary>
        [StringLength(16)]
        public virtual string Symbol { get; set; }
        /// <summary>
        /// 判断依据
        /// </summary>
        public virtual int? VisitType { get; set; }

        /// <inheritdoc />
        public int TenantId { get; set; }
    }
}
